<!--
@author	Yi Bo <etng2004@gmail.com>
@version	$Id: contact_view.php 39 2007-09-02 12:49:05Z etng2004 $
@copyrithg	2006-2007 ETE.CN
@license 	PHP Version 3.0 {@link http://www.php.net/license/3_0.txt}
-->
<?php
$this->declareVars();
require_once(dirname(__FILE__) . '/_meta_contact.php');
echo $this->render('header.php');
//$this->dump($this->contact);
?>
<?php
$contact = $this->contact;
?>
<h3>
<a href="<?php echo $this->base_url; ?>/view/id/<?php echo $contact['id']; ?>"><?php echo $contact['name']; ?></a>
</h3>
<?php echo date('Y-m-d', $contact['created_at']); ?>
<hr />
<div class="content">
<table>
  	<tr>
		<td><?php echo $meta['contact']['fields']['id'];?></td><td><?php echo $contact['id'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['client_id'];?></td><td><?php echo $contact['client_id'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['name'];?></td><td><?php echo $contact['name'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['email'];?></td><td><?php echo $contact['email'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['gender'];?></td><td><?php echo $LANG['GENDER'][$contact['gender']];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['marriage'];?></td><td><?php echo $LANG['MARRIAGE'][$contact['marriage']];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['nation'];?></td><td><?php echo $contact['nation'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['address'];?></td><td><?php echo $contact['address'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['city'];?></td><td><?php echo $contact['city'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['msn'];?></td><td><?php echo $contact['msn'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['qq'];?></td><td><?php echo $contact['qq'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['phone'];?></td><td><?php echo $contact['phone'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['cellphone'];?></td><td><?php echo $contact['cellphone'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['memo'];?></td><td><?php echo $contact['memo'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['created_at'];?></td><td><?php echo $contact['created_at'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['updated_at'];?></td><td><?php echo $contact['updated_at'];?></td>
	</tr>
	        	<tr>
		<td><?php echo $meta['contact']['fields']['deleted_at'];?></td><td><?php echo $contact['deleted_at'];?></td>
	</tr>
	        </table>
</div>
<a href="<?php echo $this->base_url; ?>/edit/id/<?php echo $contact['id']; ?>">编辑</a>
<a href="<?php echo $this->base_url; ?>/remove/id/<?php echo $contact['id']; ?>">删除</a>
